home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 4
/
Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso
/
Science
/
RLaB
/
examples
/
fun_plot.r
< prev
next >
Wrap
Text File
|
1994-04-26
|
346b
|
17 lines
// Example plot
x = (0:10:.05)';
y = x.^2;
pstart (1,1,"Mac");
plfont(2); // Roman font
plwid(2); // line width
ptitle ("#frJust For Fun, #fiJust For Fun, #fsJust For Fun");
xlabel ("#ga"); // this is alpha
ylabel ("#gb=#ga#u2#d"); // alpha = beta^2
plot ([x,y]);
//send Postscript output to file fun.ps
//plprint ("fun.ps");